﻿mainModule.controller("listCtrl", ["$scope", "logSvc", "$controller", "notification", function ($scope, apiSvc, $controller, notification) {
    "use strict";
    // instantiate base controller    
    $scope.sorting = { column: "Date", ascending: false };
    $controller('BaseListCtrl', { $scope: $scope, apiSvc: apiSvc });

    $scope.clearOld = function () {
        apiSvc.deleteOld();
    }
}]);




